﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Windows.UI.Xaml.Controls;

namespace metroCIS.Win8Application.Views
{
    public class TWPage : Page, INotifyPropertyChanged
    {
        private string _title;
        public string Title
        {
            get { return _title; }
            private set
            {
                _title = value;
                if (PropertyChanged != null)
                    PropertyChanged(this, new PropertyChangedEventArgs("Title"));
            }
        }

        protected void SetTitle(string title)
        {
            Title = title;
        }
        public event PropertyChangedEventHandler PropertyChanged;
    }
}
